package com.augmentum.oes.dao;

import java.util.List;

import com.augmentum.oes.model.Exam;
import com.augmentum.oes.model.Pagination;
import com.augmentum.oes.model.Question;

public interface ExamDao {

    int addExam(Exam exam);

    List<Exam> queryExam();

    List<Exam> examPage(Pagination<Exam> page);

    Exam findById(int id);

    void update(Exam exam);

    void setToBak(Question question);

    void setConnection(int id1, int id2);

    int getExamCount(String fuzzyTrans);
}
